<%@ Page language="c#" Codebehind="TotalsReport.aspx.cs" AutoEventWireup="false" Inherits="TimeSheet.Protected.TotalsReport" %>
<%@ Import namespace="System.Web.UI.HtmlControls"%>
<%@ Import namespace="System.Web.UI.WebControls"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
  <head>
		<title>Project/Activity Totals Report</title>
</head>
	<body>
		<form id="TotalsReport" method="post" runat="server">
			<h1>Project Totals (Billable)</h1>
			<h3><asp:label runat="server" id="lblProjectDateRange"></asp:label></h3>
			<p>
<asp:datagrid id="dgProjectTotals" runat="server" bordercolor="#CCCCCC" borderstyle="None" borderwidth="1px" backcolor="White" cellpadding="4" gridlines="Horizontal" forecolor="Black" autogeneratecolumns="False" width="700px">
<selecteditemstyle font-bold="True" forecolor="White" backcolor="#CC3333">
</SelectedItemStyle>

<headerstyle font-bold="True" forecolor="White" backcolor="#333333">
</HeaderStyle>

<footerstyle forecolor="Black" backcolor="#CCCC99">
</FooterStyle>

<columns>
<asp:BoundColumn DataField="client_project" SortExpression="client_project" ReadOnly="True" HeaderText="Project"></asp:BoundColumn>
<asp:BoundColumn DataField="total_hours" SortExpression="total_hours" ReadOnly="True" HeaderText="Total Hours" DataFormatString="{0:F}">
<headerstyle horizontalalign="Right">
</HeaderStyle>

<itemstyle horizontalalign="Right">
</ItemStyle>
</asp:BoundColumn>
</Columns>

<pagerstyle horizontalalign="Right" forecolor="Black" backcolor="White">
</PagerStyle>
</asp:datagrid></p>
			<hr>
			<h1>Activity Totals (Non-Billable)</h1>
			<h3><asp:label runat="server" id="lblActivityDateRange"></asp:label></h3>
			<p>
<asp:datagrid id="dgActivityTotals" runat="server" bordercolor="#CCCCCC" borderstyle="None" borderwidth="1px" backcolor="White" cellpadding="4" gridlines="Horizontal" forecolor="Black" autogeneratecolumns="False" width="700px">
<selecteditemstyle font-bold="True" forecolor="White" backcolor="#CC3333">
</SelectedItemStyle>

<headerstyle font-bold="True" forecolor="White" backcolor="#333333">
</HeaderStyle>

<footerstyle forecolor="Black" backcolor="#CCCC99">
</FooterStyle>

<columns>
<asp:BoundColumn DataField="activity_name" SortExpression="activity_name" ReadOnly="True" HeaderText="Activity"></asp:BoundColumn>
<asp:BoundColumn DataField="total_hours" SortExpression="total_hours" ReadOnly="True" HeaderText="Total Hours" DataFormatString="{0:F}">
<headerstyle horizontalalign="Right">
</HeaderStyle>

<itemstyle horizontalalign="Right">
</ItemStyle>
</asp:BoundColumn>
</Columns>

<pagerstyle horizontalalign="Right" forecolor="Black" backcolor="White">
</PagerStyle>
</asp:datagrid></p>
		</form>
	</body>
</html>
